n = int(input("请输入一个数n："))
for i in range(1, n + 1):
    row = []
    for j in range(1, i + 1):
        row.append(f"{j}*{i}={j * i}")
    print("\t".join(row))